package com.example.wpx.dao;

import com.example.wpx.pojo.Entrust;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EntrustMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Entrust record);

    int insertSelective(Entrust record);

    Entrust selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Entrust record);

    int updateByPrimaryKey(Entrust record);

    List<Entrust> allList(@Param("serviceType") String serviceType);

    List<Entrust> myRelease(Integer uid);

    List<Entrust> myGet(Integer uid);

}